import Nova, { DEFAULT_CONFIG } from '@/nova'
import { useEffect } from 'react'


let nova
export default function Home() {

  useEffect(() => {
    if(!nova) {
      nova = new Nova("container", DEFAULT_CONFIG, true)
    }
   
  }, []) 
  return (
    <div className="p-2 border-spacing-3 size-full bg-orange-900">
      <div className="size-full" id="container"></div>
    </div>
  )
}